package com.wuyoucar.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/*
用户信息表
 */
public class TUserinfo implements Serializable {
    private Integer userid;
    private Integer version;
    private Integer authstate;//用户认证转态
    private String  idnumber;//用户身份证号
    private String  email;
    private Integer realauthid;//实名制id
    private String  livespace;//居住地
    private Date    createtime;
    private Date    lastmodifytime;
    private Integer paytimes;
    public TUserinfo() {
    }
    public TUserinfo(Integer userid) {
        this.userid = userid;
    }

    public TUserinfo(Integer userid, Integer version, Integer authstate,
                     String idnumber, String email, Integer
            realauthid, String livespace, Date createtime,
                     Date lastmodifytime, Integer paytimes) {
        this.userid = userid;
        this.version = version;
        this.authstate = authstate;
        this.idnumber = idnumber;
        this.email = email;
        this.realauthid = realauthid;
        this.livespace = livespace;
        this.createtime = createtime;
        this.lastmodifytime = lastmodifytime;
        this.paytimes = paytimes;
    }

    public TUserinfo(Integer userid, Integer paytimes1) {
        this.userid = userid;
        this.paytimes = paytimes1;
    }

    public TUserinfo(Integer userid, String idnumber) {
        this.userid = userid;
        this.idnumber = idnumber;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getAuthstate() {
        return authstate;
    }

    public void setAuthstate(Integer authstate) {
        this.authstate = authstate;
    }

    public String getIdnumber() {
        return idnumber;
    }

    public void setIdnumber(String idnumber) {
        this.idnumber = idnumber;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getRealauthid() {
        return realauthid;
    }

    public void setRealauthid(Integer realauthid) {
        this.realauthid = realauthid;
    }

    public String getLivespace() {
        return livespace;
    }

    public void setLivespace(String livespace) {
        this.livespace = livespace;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getLastmodifytime() {
        return lastmodifytime;
    }

    public void setLastmodifytime(Date lastmodifytime) {
        this.lastmodifytime = lastmodifytime;
    }

    public Integer getPaytimes() {
        return paytimes;
    }

    public void setPaytimes(Integer paytimes) {
        this.paytimes = paytimes;
    }

    @Override
    public String toString() {
        return "TUserinfo{" +
                "userid=" + userid +
                ", version=" + version +
                ", authstate=" + authstate +
                ", idnumber='" + idnumber + '\'' +
                ", email='" + email + '\'' +
                ", realauthid=" + realauthid +
                ", livespace='" + livespace + '\'' +
                ", createtime=" + createtime +
                ", lastmodifytime=" + lastmodifytime +
                ", paytimes=" + paytimes +
                '}';
    }
}
